FROM python:3.7.11-slim
 
WORKDIR /app
 
COPY requirements.txt requirements.txt
RUN python -m pip install --upgrade pip
RUN pip3 install -r requirements.txt
 
COPY . .
 
ENTRYPOINT ["sh", "-c" , "gunicorn -c gunicorn_config.py application:app"]